package cn.spring.starter.lock.core.stragety;

import cn.spring.starter.lock.config.RedissonProperties;
import org.redisson.config.Config;

/**
 * @author xingkong
 * @Title: Redisson配置构建接口
 * @Description: RedissonConfigStrategy
 * @date 2021/10/28 9:12
 */
public interface RedissonConfigStrategy {

    /**
     * 根据不同的Redis配置策略创建对应的Config
     * @param redissonProperties
     * @return
     */
    Config createRedissonConfig(RedissonProperties redissonProperties);
}
